package cn.gson.springboot.model.mapper.aftermapper;

import cn.gson.springboot.model.pjos.Evection;
import cn.gson.springboot.model.pjos.EvectionRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EvectionMapper {

    //出差分页查询
    public List<Evection> evetPage(@Param("employeesId") Integer employeesId,
                                   @Param("fatherDeptId") Integer fatherDeptId,
                                   @Param("evetDate") String datas,
                                   @Param("evetData") String dates,
                                   @Param("evetGoal") String sites);

    //回显出差表
    public Evection evetAll(@Param("evetId") Integer evetIds);

    //回显出差日志表
    public List<EvectionRecord> cordByEvetId(Integer evetId);
}
